package com.code;

import lombok.Data;

/**
 * @author Ysl
 * @create 2025/7/2 16:38
 */
@Data
public class ListNode {

    private int val;
    private ListNode next;

    public ListNode() {}
    public ListNode(int val) { this.val = val; }
    public ListNode(int val, ListNode next) { this.val = val; this.next = next; }
}
